<input type="hidden" id="pageSize" name="pageSize" value="${page.pageSize}" />
<input type="hidden" id="searchProperty" name="searchProperty" value="${page.searchProperty}" />
<input type="hidden" id="orderProperty" name="orderProperty" value="${page.orderProperty}" />
<input type="hidden" id="orderDirection" name="orderDirection" value="${page.orderDirection}" />
<div class="pagination">
	[#if hasPrevious]
		<a class="previousPage" href="javascript: $.pageSkip(${previousPageNumber});">&nbsp;</a>
	[#else]
		<span class="previousPage">&nbsp;</span>
	[/#if]
	[#list segment as segmentPageNumber]
		[#if segmentPageNumber_index == 0 && segmentPageNumber > firstPageNumber + 1]
			<span class="pageBreak">...</span>
		[/#if]
		[#if segmentPageNumber != pageNumber]
			<a href="javascript: $.pageSkip(${segmentPageNumber});">${segmentPageNumber}</a>
		[#else]
			<span class="currentPage">${segmentPageNumber}</span>
		[/#if]
		[#if !segmentPageNumber_has_next && segmentPageNumber < lastPageNumber - 1]
			<span class="pageBreak">...</span>
		[/#if]
	[/#list]
	[#if hasNext]
		<a class="nextPage" href="javascript: $.pageSkip(${nextPageNumber});">&nbsp;</a>
	[#else]
		<span class="nextPage">&nbsp;</span>
	[/#if]
	<span class="pageSkip" style="display: none;">
		${message("1018", totalPages)} ${message("1019", '<input id="pageNumber" name="pageNumber" value="' + pageNumber + '" maxlength="9" onpaste="return false;" />')}<button type="submit">&nbsp;</button>
	</span>
</div>